home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / mardek_rpg.swf / scripts / frame_4 / DoAction.as
Encoding:
Text File  |  2011-09-19  |  34.4 KB  |  197 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 1178 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = -396 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 384)
  9.    {
  10.       set("\x01",eval("\x01") + 92);
  11.       ┬º┬ºpush(true);
  12.    }
  13.    else if(eval("\x01") == 198)
  14.    {
  15.       set("\x01",eval("\x01") + 15);
  16.    }
  17.    else if(eval("\x01") == 580)
  18.    {
  19.       set("\x01",eval("\x01") - 419);
  20.       ┬º┬ºpush("\x0f");
  21.       ┬º┬ºpush(1);
  22.    }
  23.    else if(eval("\x01") == 476)
  24.    {
  25.       set("\x01",eval("\x01") + 288);
  26.       if(function ┬º\x01\x02┬º()
  27.       {
  28.          return 1178 % 511 * 5;
  29.       })
  30.       {
  31.          set("\x01",eval("\x01") - 292);
  32.       }
  33.    }
  34.    else if(eval("\x01") == 475)
  35.    {
  36.       set("\x01",eval("\x01") - 271);
  37.       ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  38.       {
  39.          return 1178 % 511 * 5;
  40.       }));
  41.    }
  42.    else if(eval("\x01") == 43)
  43.    {
  44.       set("\x01",eval("\x01") + 789);
  45.       if(function ┬º\x01\x02┬º()
  46.       {
  47.          return 1178 % 511 * 5;
  48.       })
  49.       {
  50.          set("\x01",eval("\x01") - 633);
  51.       }
  52.    }
  53.    else
  54.    {
  55.       if(eval("\x01") == 764)
  56.       {
  57.          set("\x01",eval("\x01") - 292);
  58.          ┬º┬ºpush(┬º┬ºpop() >>> function ┬º\x01\x02┬º()
  59.          {
  60.             return 1178 % 511 * 5;
  61.          });
  62.          break;
  63.       }
  64.       if(eval("\x01") == 472)
  65.       {
  66.          set("\x01",eval("\x01") - 259);
  67.       }
  68.       else if(eval("\x01") == 213)
  69.       {
  70.          set("\x01",eval("\x01") + 552);
  71.          ┬º┬ºpush(true);
  72.       }
  73.       else if(eval("\x01") == 765)
  74.       {
  75.          set("\x01",eval("\x01") + 134);
  76.          if(function ┬º\x01\x02┬º()
  77.          {
  78.             return 1178 % 511 * 5;
  79.          })
  80.          {
  81.             set("\x01",eval("\x01") - 146);
  82.          }
  83.       }
  84.       else
  85.       {
  86.          if(eval("\x01") == 899)
  87.          {
  88.             set("\x01",eval("\x01") - 146);
  89.             break;
  90.          }
  91.          if(eval("\x01") == 832)
  92.          {
  93.             set("\x01",eval("\x01") - 633);
  94.             tellTarget(┬º┬ºpop() >>> (┬º┬ºpop() | ┬º┬ºpop() >>> function ┬º\x01\x02┬º()
  95.             {
  96.                return 1178 % 511 * 5;
  97.             }))
  98.             {
  99.                ┬º┬ºpop() extends ┬º┬ºpop();
  100.                tellTarget(┬º┬ºpop() << (┬º┬ºpop() >>> ┬º┬ºpop()))
  101.                {
  102.                   tellTarget(┬º┬ºpop() | ┬º┬ºpop())
  103.                   {
  104.                      tellTarget(┬º┬ºpop() >>> (┬º┬ºpop() gt ┬º┬ºpop()))
  105.                      {
  106.                         startDrag(┬º┬ºpop() >>> (┬º┬ºpop() | ┬º┬ºpop() << ┬º┬ºpop()),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop(),┬º┬ºpop());
  107.                         tellTarget(┬º┬ºpop() >>> (┬º┬ºpop() >>> ┬º┬ºpop()))
  108.                         {
  109.                            ┬º┬ºpop() extends ┬º┬ºpop();
  110.                            ┬º┬ºpush(┬º┬ºpop() >>> (┬º┬ºpop() | ┬º┬ºpop() >>> (┬º┬ºpop() << ┬º┬ºpop())));
  111.                            break;
  112.                         }
  113.                      }
  114.                   }
  115.                }
  116.             }
  117.          }
  118.          if(eval("\x01") == 161)
  119.          {
  120.             set("\x01",eval("\x01") + 141);
  121.             var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  122.             {
  123.                return 1178 % 511 * 5;
  124.             };
  125.          }
  126.          else if(eval("\x01") == 458)
  127.          {
  128.             set("\x01",eval("\x01") + 122);
  129.          }
  130.          else if(eval("\x01") == 753)
  131.          {
  132.             set("\x01",eval("\x01") - 315);
  133.          }
  134.          else if(eval("\x01") == 204)
  135.          {
  136.             set("\x01",eval("\x01") - 83);
  137.             ┬º┬ºpush(!function ┬º\x01\x02┬º()
  138.             {
  139.                return 1178 % 511 * 5;
  140.             });
  141.          }
  142.          else if(eval("\x01") == 537)
  143.          {
  144.             set("\x01",eval("\x01") - 99);
  145.          }
  146.          else if(eval("\x01") == 64)
  147.          {
  148.             set("\x01",eval("\x01") + 810);
  149.          }
  150.          else if(eval("\x01") == 438)
  151.          {
  152.             set("\x01",eval("\x01") - 395);
  153.             ┬º┬ºpush(true);
  154.          }
  155.          else if(eval("\x01") == 302)
  156.          {
  157.             set("\x01",eval("\x01") + 173);
  158.             ┬º┬ºpush("\x0f");
  159.          }
  160.          else if(eval("\x01") == 121)
  161.          {
  162.             set("\x01",eval("\x01") - 57);
  163.             if(function ┬º\x01\x02┬º()
  164.             {
  165.                return 1178 % 511 * 5;
  166.             })
  167.             {
  168.                set("\x01",eval("\x01") + 810);
  169.             }
  170.          }
  171.          else
  172.          {
  173.             if(eval("\x01") != 199)
  174.             {
  175.                if(eval("\x01") == 874)
  176.                {
  177.                   set("\x01",eval("\x01") - 806);
  178.                   ARMOUR_TYPES = {Ar0:"CLOTHING",Ar1:"LIGHT ARMOUR",Ar2:"MEDIUM ARMOUR",Ar3:"HEAVY ARMOUR",ArR:"ROBE",Sh:"SHIELD",H0:"HAT",H1:"HELMET",H2:"FULL HELM"};
  179.                   ItemList = [{name:"Longsword",type:"wepn",wpnType:"SWORD",atk:10,critical:4,hit:97,cost:50,desc:"A basic iron sword.",skills:[["MSwd","DMG+20%"]]},{name:"Bronze Sword",type:"wepn",wpnType:"SWORD",atk:14,critical:4,hit:97,cost:350,desc:"A sturdy longsword made of bronze.",skills:[["Holy","Smite Evil"],["Holy","Smite +1d6"]]},{name:"Silver Sword",type:"wepn",wpnType:"SWORD",atk:16,critical:4,hit:97,cost:1000,typeBonus:["UNDEAD",["m",2]],elem:"LIGHT",desc:"An ornate sword made of silver. It\'s magically imbued with the power of light, and inflicts double damage on undead targets.",skills:[["Holy","Disrupt Undead"]]},{name:"Iron Sword",type:"wepn",wpnType:"SWORD",atk:20,critical:4,hit:97,cost:600,desc:"A generic longsword made of iron. It\'s got a small lapis lazuli in the hilt that doesn\'t do anything at all!",skills:[]},{name:"Mace",type:"wepn",wpnType:"SWORD",atk:22,critical:4,hit:97,cost:800,desc:"A weapon consisting of a metal shaft with a spiked metal ball at the end. Used for bludgeoning."},{name:"Shadowblade",type:"wepn",wpnType:"SWORD",atk:32,critical:4,hit:97,cost:4000,elem:"DARK",desc:"A Dark-elemental sword, imbued with eldritch powers, probably."},{name:"Sun Sword",type:"wepn",wpnType:"SWORD",atk:40,critical:4,hit:97,cost:600,elem:"LIGHT",desc:"A holy blade blessed by Solak, God of the Sun. It inflicts Light elemental damage."},{name:"M Blade",type:"wepn",wpnType:"SWORD",elem:"LIGHT",atk:100,critical:10,hit:255,cost:1,effects:[["STR",5]],desc:"A mighty sword wielded by heroes.",skills:[["Hero","Smite Evil"],["Hero","DMG+50%"]]},{name:"Stick",type:"wepn",wpnType:"SWORD",atk:3,critical:1,hit:90,cost:0,hit_sfx:"punch",desc:"A large, sturdy stick, found on the gr- no! It\'s a Mighty Hero\'s Magic Sword, of course! It\'s short and light enough to wield in one hand like a sword.",skills:[["Child","Strike"],["Child","DMG+1"],["Child","Block"]]},{name:"Keyblade",type:"wepn",wpnType:"SWORD",atk:26,critical:4,hit:97,cost:2000,desc:"No, this doesn\'t have anything to do with Kingdom Hearts. Nothing at all. It\'s not even a reference to it or anything."},{name:"Pike",type:"wepn",wpnType:"SPEAR",atk:9,critical:2,hit:94,cost:50,desc:"A simple spear often used by generic, expendable soldiers.",skills:[["Sldr","Power Attack"]]},{name:"Greatsword",type:"wepn",wpnType:"GREATSWORD",atk:12,critical:4,hit:95,cost:50,desc:"A basic greatsword.",skills:[["SSwd","DMG+20%"],["SSwd","Power Attack"]]},{name:"Tectonic Sword",type:"wepn",wpnType:"GREATSWORD",atk:16,critical:4,hit:95,cost:400,desc:"A greatsword made of bronze. It\'s strong enough to rend rocks in twain.",skills:[["SSwd","Earth Slash"]]},{name:"Iron Greatblade",type:"wepn",wpnType:"GREATSWORD",atk:20,critical:4,hit:95,cost:650,desc:"A simple but powerful greatsword made of iron.",skills:[["SSwd","Barrier Break"]]},{name:"Ancient Sword",type:"wepn",wpnType:"GREATSWORD",atk:26,critical:4,hit:95,cost:1200,desc:"An old sword that was probably used by some Hero in the days of old. It has runes engraved on it.",skills:[["SSwd","Spiritblade"]]},{name:"MythrilGreatblade",type:"wepn",wpnType:"GREATSWORD",atk:30,critical:4,hit:95,cost:3500,desc:"A basic iron sword.",skills:[["SSwd","DMG+20%"],["SSwd","Power Attack"]]},{name:"Burial Sword",type:"wepn",wpnType:"GREATSWORD",atk:44,critical:4,hit:95,cost:6000,elem:"LIGHT",effects:[["STR",2]],desc:"A decorative but powerful sword that was buried with Social Fox in his tomb. It may or may not have belonged to him at some point.",skills:[["SSwd","Boost"]]},{name:"Wolfblade",type:"wepn",wpnType:"GREATSWORD",atk:50,critical:4,hit:95,cost:50000,elem:"EARTH",desc:"The sword of Social Fox.",skills:[]},{name:"Balmung",type:"wepn",wpnType:"GREATSWORD",elem:"EARTH",atk:120,critical:8,hit:95,cost:1,effects:[["STR",5]],desc:"The sword of a legendary hero.",skills:[["Hero","Sunder"],["Hero","DMG+50%"]]},{name:"Big Stick",type:"wepn",wpnType:"GREATSWORD",atk:3,critical:1,hit:95,cost:0,hit_sfx:"punch",desc:"A large, sturdy stick, found on the gr- no! It\'s a Mighty Hero\'s Magic Sword, of course! This one is large enough for a child to wield in both hands, like a greatsword.",skills:[["Child","Strike"],["Child","DMG+1"],["Child","Block"]]},{name:"Greataxe",type:"wepn",wpnType:"GREATAXE",atk:40,critical:4,hit:95,cost:500,hit_sfx:"hit_2HSWORDS",desc:"A basic greataxe.",skills:[]},{name:"Dagger",type:"wepn",wpnType:"DAGGER",atk:16,critical:10,hit:100,cost:50,desc:"A basic iron dagger.",skills:[]},{name:"Shashiik",type:"wepn",wpnType:"DOUBLESWORD",atk:18,critical:7,hit:97,cost:600,hit_sfx:"hit_MARTIAL",desc:"A double-bladed sword from lands afar.",skills:[["Merc","DMG+30%"],["Merc","Berserk"],["Merc","Soulstrike: Air"]]},{name:"Boneslicer",type:"wepn",wpnType:"DOUBLESWORD",atk:24,critical:7,hit:97,cost:2000,typeBonus:["UNDEAD",["m",2]],hit_sfx:"hit_MARTIAL",desc:"A double-bladed sword made of the bones of some great dead beast, meant for slicing the bones of other great beasts. It\'s especially effective versus undead.",skills:[["Merc","Crescendo Slash"]]},{name:"Twin Trilobites",type:"wepn",wpnType:"DOUBLESWORD",atk:36,critical:7,hit:97,cost:6000,hit_sfx:"hit_MARTIAL",desc:"A doublesword fashioned in the shape of trilobites for some reason.",skills:[]},{name:"Branch Club",type:"wepn",wpnType:"GREATMACE",atk:4,critical:1,hit:90,cost:0,hit_sfx:"punch",desc:"A large branch, used as a club.",skills:[]},{name:"Revolver",type:"wepn",wpnType:"GUN",atk:26,critical:0,hit:255,cost:0,desc:"The most basic gun.",skills:[]},{name:"Water Rod",type:"wepn",wpnType:"ROD",atk:5,critical:5,hit:80,cost:100,hit_sfx:"punch",MP_DRAIN:true,elem:"WATER",desc:"A magical rod imbued with the elemental power of water. It increases the power of water spells, and drains MP when used to attack rather than inflicting HP damage.",effects:[["SPR",1],["EMPOWER","WATER",25]],skills:[["Elem","Bubble"],["Elem","M DMG+20%"]]},{name:"Fire Rod",type:"wepn",wpnType:"ROD",atk:6,critical:5,hit:80,cost:200,hit_sfx:"punch",MP_DRAIN:true,elem:"FIRE",desc:"A magical rod imbued with the elemental power of fire. It increases the power of fire spells, and drains MP when used to attack rather than inflicting HP damage.",effects:[["SPR",1],["EMPOWER","FIRE",25]],skills:[["Elem","Flame"]]},{name:"Earth Rod",type:"wepn",wpnType:"ROD",atk:7,critical:5,hit:80,cost:300,hit_sfx:"punch",MP_DRAIN:true,elem:"EARTH",desc:"A magical rod imbued with the elemental power of earth. It increases the power of earth spells, and drains MP when used to attack rather than inflicting HP damage.",effects:[["SPR",1],["EMPOWER","EARTH",25]],skills:[["Elem","Stonesplosion"],["Elem","Stonesplosion:+PSN"]]},{name:"Lightning Rod",type:"wepn",wpnType:"ROD",atk:8,critical:5,hit:80,cost:800,hit_sfx:"punch",MP_DRAIN:true,elem:"AIR",desc:"A magical rod imbued with the elemental power of air. It increases the power of air spells, and drains MP when used to attack rather than inflicting HP damage.",effects:[["SPR",1],["EMPOWER","AIR",25]],skills:[["Elem","Lightning Bolt:+PAR"]]},{name:"HeartStaff",type:"wepn",wpnType:"STAFF",atk:10,critical:1,hit:80,cost:100,hit_sfx:"punch",elem:"LIGHT",desc:"It has a love heart on the end!",effects:[["SPR",1]],skills:[]},{name:"Earth Staff",type:"wepn",wpnType:"STAFF",atk:16,critical:1,hit:80,cost:200,hit_sfx:"punch",elem:"EARTH",effects:[["SPR",1]],desc:"A two-handed staff with an elemental gem on the head, infused with the powers of Earth.",skills:[]},{name:"Polemace",type:"wepn",wpnType:"STAFF",atk:20,critical:5,hit:80,cost:400,hit_sfx:"punch",desc:"A metal staff with a macehead on the end, used by those magic users that prefer to bludgeon things as well as cast spells.",skills:[]},{name:"WalkingStick",type:"wepn",wpnType:"WALKINGSTICK",atk:8,critical:0,hit:80,cost:100,hit_sfx:"punch",desc:"A stick to assist the elderly in walking.",effects:[["SPR",1]],skills:[]},{name:"Mortus",type:"wepn",wpnType:"SCYTHE",atk:32,critical:15,hit:100,cost:25000,hit_sfx:"hit_2HSWORDS",elem:"EARTH",desc:"Moric\'s scythe.",skills:[]},{name:"Wooden Shield",type:"shld",def:1,mdef:0,evade:5,cost:20,amrType:"Sh",desc:"A round shield made of wood. Pretty light, but offers only some small protection. Good for poor people!"},{name:"Bronze Shield",type:"shld",def:2,mdef:0,evade:7,cost:250,amrType:"Sh",desc:"A shield made of bronze."},{name:"Kite Shield",type:"shld",def:3,mdef:0,evade:10,cost:1000,amrType:"Sh",desc:"An iron shield fashioned in a kite shape for some reason. These are often used by knights."},{name:"Hero\'s Shield",type:"shld",def:10,mdef:50,evade:30,cost:1,amrType:"Sh",desc:"A silver shield used by a mighty hero."},{name:"Tunic",type:"armr",def:0,mdef:0,cost:1,amrType:"Ar0",desc:"A \'stylish\', vomit-green Commoner Tunic. Worn by Commoners.",skills:[["Child","Huff-Puff"]]},{name:"Hero\'s Coat",type:"armr",def:45,mdef:80,cost:1,amrType:"Ar1",effects:[["SPR",3],["hp",400]],desc:"An emerald-green greatcoat, worn by a mighty hero."},{name:"Leather Armour",type:"armr",def:1,mdef:0,cost:100,amrType:"Ar1",desc:"A suit of armour made of leather. More protective than clothing, but still pretty weak."},{name:"Bandit Leather",type:"armr",def:2,mdef:2,cost:1000,amrType:"Ar1",effects:[["AGL",2],["R_ELEM","AIR",25],["R_STATUS","PAR",50]],elem:"AIR",desc:"A suit of armour made of leather, often worn by bandit leaders. It is infused with the power of air, giving a bonus to agility, air resistance, and resistance to paralysis."},{name:"Spiked Hide Armour",type:"armr",def:3,mdef:0,cost:400,amrType:"Ar1",desc:"A tough, durable suit of light armour made from the hide of some large, hardy beast. The spikes give it a rather barbaric look."},{name:"Geojacket",type:"armr",def:0,mdef:0,cost:10000,amrType:"Ar1",effects:[["VIT",1],["hp",20],["R_ELEM","EARTH",120]],desc:"An earthy green jacket, imbued with the powers of nature. Though it offers nothing in the way of physical or magical defence, it allows the wearer to absorb a percentage of any Earth damage inflicted on them as HP. It increases max HP as a bonus, too!"},{name:"Chainmail",type:"armr",def:2,mdef:0,cost:250,amrType:"Ar2",desc:"A simple suit of armour made of interlocking metal chains. Worn by soldiers.",skills:[["MSwd","DMG-20%"],["SSwd","DMG-20%"]]},{name:"Green Chainmail",type:"armr",def:3,mdef:0,cost:500,amrType:"Ar2",effects:[["R_ELEM","LIGHT",25]],desc:"Vehrn\'s custom-made armour. It\'s essentially just painted chainmail with some minor magical enchantments, such as small protection against Light-elemental damage.",skills:[["Holy","DMG-25%"],["Holy","M DMG-25%"]]},{name:"Copper Breastplate",type:"armr",def:3,mdef:0,cost:400,amrType:"Ar2",desc:"A simple copper breastplate often worn by soldiers.",skills:[]},{name:"Bonemail",type:"armr",def:4,mdef:0,cost:2500,amrType:"Ar2",effects:[["R_ELEM","DARK",100],["R_ELEM","LIGHT",-100],["R_STATUS","CRS",100]],elem:"DARK",desc:"A suit of armour made from the bones of dead warriors. It protects from darkness and curses, but makes the wearer vulnerable to the Light element.",skills:[]},{name:"Trilobite Armour",type:"armr",def:5,mdef:0,cost:5000,amrType:"Ar2",effects:[["R_ELEM","WATER",150],["hp",20]],elem:"WATER",desc:"A suit of medium armour made from Trilobite... scales...? It absorbs water damage as HP, and boosts the wearer\'s max hp, too!",skills:[]},{name:"Breastplate",type:"armr",def:4,mdef:0,cost:1000,amrType:"Ar2",desc:"A simple iron breastplate often worn by soldiers."},{name:"Hero\'s Armour",type:"armr",def:50,mdef:0,cost:1,amrType:"Ar3",effects:[["VIT",3],["hp",600]],amrType:3,desc:"Armour made of the strongest and most lustrous of metals, worn by a mighty hero."},{name:"Rusty Armour",type:"armr",def:4,mdef:0,cost:100,amrType:"Ar3",desc:"A full suit of armour, made of bronze. It\'s rusted though from overuse, and isn\'t as durable as it once was."},{name:"Bronze Armour",type:"armr",def:6,mdef:0,cost:500,amrType:"Ar3",desc:"A full suit of armour, made of bronze."},{name:"Mage Robe",type:"armr",def:0,mdef:5,cost:100,amrType:"ArR",desc:"A simple blue robe worn by mages. It works as defence against magical rather than physical attacks.",skills:[["Elem","M DMG-20%"]]},{name:"Hempen Robe",type:"armr",def:0,mdef:8,cost:400,amrType:"ArR",effects:[["SPR",1],["mp",10]],desc:"A mage\'s robe made from \'hemp\'. It has \'mind enhancing effects\'.",skills:[["Elem","M DMG-20%"]]},{name:"Green Robe",type:"armr",def:0,mdef:12,cost:4000,amrType:"ArR",effects:[["SPR",2],["mp",20],["R_ELEM","EARTH",50]],desc:"A green mage\'s robe. It allows its wearer to resist Earth damage.",skills:[["Elem","M DMG-30%"]]},{name:"Hat",type:"helm",def:1,mdef:0,cost:90,amrType:"H0",desc:"This seems to be some sort of hat."},{name:"Leather Helm",type:"helm",def:1,mdef:0,cost:50,amrType:"H1",desc:"A light helmet made of leather."},{name:"Rusty Helm",type:"helm",def:2,mdef:0,cost:50,amrType:"H2",desc:"This helmet was once probably rather strong and valuable, but ages has worn down its effectiveness considerably."},{name:"Bronze Helm",type:"helm",def:3,mdef:0,cost:300,amrType:"H2",desc:"A helmet that covers the entire head, made of bronze."},{name:"Kettle Hat",type:"helm",def:2,mdef:0,cost:200,amrType:"H1",desc:"A wide-brimmed metal helm-hat thing. Trendy!"},{name:"Dragon Amulet",type:"accs",def:0,mdef:10,cost:100,effects:[["R_ELEM","FIRE",50],["STR",1],["VIT",1],["SPR",1],["AGL",1]],elem:"FIRE",desc:"A powerful amulet shaped like a dragon. It protects against fire and boosts bodily energy output.",skills:[["Hero","Nullify Physical"],["Hero","Nullify Magic"]]},{name:"Cog Necklace",type:"accs",def:0,mdef:0,cost:100,effects:[["R_STATUS","SLEEP",100]],desc:"A necklace, with a simple cog attached. It was enchanted by Meraeador to protect the wearer from being put to sleep.",skills:[]},{name:"SilverPendant",type:"accs",def:0,mdef:3,cost:100,effects:[["R_ELEM","LIGHT",15]],elem:"LIGHT",desc:"A delicate silver piece of jewerly. Wear it around your neck.",skills:[]},{name:"Lapis Lily",type:"accs",def:0,mdef:3,cost:4000,effects:[["R_ELEM","WATER",120],["R_STATUS","SIL",50],["R_STATUS","CRS",50]],elem:"WATER",desc:"A delicate brooch made of lapis lazuli and silver, fashioned in the shape of a water lily. It was given to Mardek by Elwyen to show her gratitude.",skills:[["MSwd","M. Shield"]]},{name:"Body Crystal",type:"accs",def:1,mdef:0,cost:1000,effects:[["VIT",1],["hp",10],["R_STATUS","NUM",20],["R_STATUS","PSN",20],["R_STATUS","SLP",20],["R_STATUS","PAR",20]],desc:"A green crystal which is attuned to the physical wavelengths and body chakras such that it enhances the potential of the body of its wearer. Or something like that.",skills:[]},{name:"Mind Crystal",type:"accs",def:0,mdef:1,cost:1000,effects:[["SPR",1],["mp",10],["R_STATUS","SIL",20],["R_STATUS","CNF",20],["R_STATUS","CRS",20],["R_STATUS","DRK",20]],desc:"A blue crystal which is attuned to the mental wavelengths and mind chakras such that it enhances the potential of the mind of its wearer. Or something like that.",skills:[]},{name:"Pickaxe Pendant",type:"accs",def:1,mdef:0,cost:1000,effects:[["STR",1]],desc:"A tiny little pickaxe on a chain. It was a gift from the miners, for saving them.",skills:[]},{name:"FirePendant",type:"accs",def:0,mdef:5,cost:300,effects:[["R_ELEM","FIRE",50],["R_ELEM","WATER",-50]],elem:"FIRE",desc:"An amulet imbued with the Fire element. It reduces all fire damage inflicted on its wearer by half."},{name:"WaterPendant",type:"accs",def:0,mdef:5,cost:300,effects:[["R_ELEM","WATER",50],["R_ELEM","EARTH",-50]],elem:"WATER",desc:"An amulet imbued with the Water element. It reduces all water damage inflicted on its wearer by half."},{name:"EarthPendant",type:"accs",def:0,mdef:5,cost:300,effects:[["R_ELEM","EARTH",50],["R_ELEM","AIR",-50]],elem:"EARTH",desc:"An amulet imbued with the Earth element. It reduces all earth damage inflicted on its wearer by half."},{name:"AirPendant",type:"accs",def:0,mdef:5,cost:300,effects:[["R_ELEM","AIR",50],["R_ELEM","FIRE",-50]],elem:"AIR",desc:"An amulet imbued with the Air element. It reduces all air damage inflicted on its wearer by half."},{name:"YalortianAmulet",type:"accs",def:1,mdef:6,cost:500,elem:"DARK",effects:[["SPR",2],["R_ELEM","DARK",10]],desc:"An amulet shaped like the Eye of Yalort. Increases Spirit."},{name:"RingOfSTR",type:"accs",def:0,mdef:0,cost:100,effects:[["STR",1]],desc:"This little ring, set with a red gem, magically enhances its wearer\'s physical strength."},{name:"RingOfVIT",type:"accs",def:0,mdef:0,cost:100,effects:[["VIT",1],["hp",10]],desc:"This little ring, set with a green gem, magically enhances its wearer\'s physical endurance."},{name:"RingOfAGL",type:"accs",def:0,mdef:0,cost:100,effects:[["AGL",1]],desc:"This little ring, set with a yellow gem, magically enhances its wearer\'s speed."},{name:"RingOfSPR",type:"accs",def:0,mdef:0,cost:100,effects:[["SPR",1]],desc:"This little ring, set with a blue gem, magically enhances its wearer\'s mental acuity."},{name:"RingOfSTR+2",type:"accs",def:0,mdef:0,cost:100,effects:[["STR",2]],desc:"This little ring, set with a red gem, magically enhances its wearer\'s physical strength."},{name:"RingOfVIT+2",type:"accs",def:0,mdef:0,cost:100,effects:[["VIT",2],["hp",20]],desc:"This little ring, set with a green gem, magically enhances its wearer\'s physical endurance."},{name:"RingOfAGL+2",type:"accs",def:0,mdef:0,cost:100,effects:[["AGL",2]],desc:"This little ring, set with a yellow gem, magically enhances its wearer\'s speed."},{name:"RingOfSPR+2",type:"accs",def:0,mdef:0,cost:100,effects:[["SPR",2]],desc:"This little ring, set with a blue gem, magically enhances its wearer\'s mental acuity."},{name:"CopperRing",type:"accs",def:1,mdef:0,cost:100,desc:"This tiny ring somehow raises Defence by a whole point."},{name:"SilverRing",type:"accs",def:2,mdef:0,cost:600,desc:"This tiny ring somehow raises Defence by a whole two points."},{name:"OnyxRing",type:"accs",def:0,mdef:3,cost:800,elem:"DARK",effects:[["STR",1],["R_ELEM","DARK",50],["R_STATUS","DRK",100]],desc:"A ring set with an onyx stone. It channels the powers of darkness, protecting its wearer from both the element Darkness and the status effect, also called Darkness.",skills:[]},{name:"MoonstoneRing",type:"accs",def:0,mdef:3,cost:800,elem:"LIGHT",effects:[["SPR",1],["R_ELEM","LIGHT",50],["R_STATUS","SLP",100]],desc:"A ring set with an moonstone. It channels the power of light, protecting its wearer from offensive light-elemental spells, and the status effect Sleep, for some reason.",skills:[["MSwd","Shield"]]},{name:"Gauntlet",type:"accs",def:0,mdef:0,cost:500,effects:[["STR",2]],desc:"A metal glove-type thing that increases strength.",skills:[]},{name:"GreenBeads",type:"accs",def:0,mdef:4,cost:400,elem:"EARTH",effects:[["R_ELEM","EARTH",20],["VIT",1]],desc:"A necklace made of green, earthy beads.",skills:[["B.Magic","Stone"],["W.Magic","Antidote"]]},{name:"Snakestone",type:"accs",def:0,mdef:3,cost:2000,elem:"EARTH",effects:[["R_STATUS","PSN",100]],desc:"A magical green stone that protects against poison if worn.",skills:[["MSwd","Remove Taint"]]},{name:"Wingstone",type:"accs",def:0,mdef:8,cost:2000,elem:"AIR",effects:[["R_ELEM","AIR",20],["AGL",2]],desc:"An oddly crafted magical talisman infused with the power of wind."},{name:"TopazEarring",type:"accs",def:0,mdef:4,cost:4000,elem:"AIR",effects:[["R_ELEM","AIR",40],["R_STATUS","PAR",80],["AGL",2]],desc:"A powerful piece of jewellery that protects against wind and paralysis, and also increases speed."},{name:"ShieldBracer",type:"accs",def:10,mdef:10,cost:1000,effects:[["R_ELEM","FIRE",75],["R_ELEM","EARTH",75],["R_ELEM","AIR",75],["R_ELEM","WATER",75]],desc:"This bracer generates a shield around its wearer, functioning as an entire suit of armour."},{name:"Thermal Spanner",type:"accs",def:0,mdef:0,cost:1000,effects:[["STR",1]],elem:"FIRE",desc:"An Invention for use by an Inventor. It\'s a large spanner, the end of which is kept super-heated by some kind of special gizmobob, or something. It can be used as a fire-elemental physical attack on a single foe, which lowers defence. It also sometimes causes Numbness.",skills:[["Inv","Thermal Spanner"]]},{name:"Potion Spray",type:"accs",def:0,mdef:0,cost:1000,effects:[["R_ELEM","FIRE",75]],elem:"LIGHT",desc:"An Invention for use by an Inventor. It\'s a device that turns potion liquid into vapour, which is then sprayed at the entire party, restoring their HP.",skills:[["Inv","Potion Spray"]]},{name:"Drill-O-Matic",type:"accs",def:1,mdef:0,cost:1000,effects:[],desc:"An Invention for use by an Inventor. It\'s a drill mounted on a spear, which can be used to inflict non-elemental damage on a single foe.",skills:[["Inv","Drill-O-Matic"]]},{name:"P-Mirror",type:"accs",def:2,mdef:0,cost:1000,effects:[["hp",10]],elem:"LIGHT",desc:"An Invention for use by an Inventor. It\'s a mirror made from magical crystal, which can be used to give the entire party the Physical Shield status.",skills:[["Inv","P-Mirror"]]},{name:"M-Mirror",type:"accs",def:0,mdef:2,cost:1000,effects:[["mp",10]],elem:"LIGHT",desc:"An Invention for use by an Inventor. It\'s a mirror made from magical crystal, which can be used to give the entire party the Physical Shield status.",skills:[["Inv","M-Mirror"]]},{name:"Gas-O-Matic",type:"accs",def:0,mdef:0,cost:1000,effects:[["R_STATUS","PSN",75]],elem:"EARTH",desc:"An Invention for use by an Inventor. It sprays out a noxious gas which inflicts poison on all foes.",skills:[["Inv","Gas-O-Matic"]]},{name:"Flamethrower",type:"accs",def:0,mdef:0,cost:1000,effects:[],elem:"FIRE",desc:"An Invention for use by an Inventor. It belches flames like a dragon, inflicting fire damage on all foes.",skills:[["Inv","Flamethrower"]]},{name:"Sleep-O-Matic",type:"accs",def:0,mdef:0,cost:1000,effects:[["R_STATUS","SLP",75]],elem:"AIR",desc:"An Invention for use by an Inventor. It sprays out a thick gas which puts all foes to sleep.",skills:[["Inv","Sleep-O-Matic"]]},{name:"Potion",type:"item",cost:30,action:["r_HP",50],rgb:[100,160,220],desc:"This generic potion restores 50HP. It\'s really generic. I mean, seriously."},{name:"BetterPotion",type:"item",cost:80,action:["r_HP",100],rgb:[100,210,250],desc:"It\'s better than a normal potion because it restores 100HP, and has more friends, listens to trendier music, and gets invited to more parties. As well as more sex. Ohyes."},{name:"MugwortJuice",type:"item",cost:150,action:["r_HP",250],rgb:[100,150,70],desc:"A potion made from the Mugwort herb, which has some sort of healing properties, apparently. It restores 250HP, and tastes like year-old milk."},{name:"FigJuice",type:"item",cost:300,action:["r_HP",1000],rgb:[130,40,180],desc:"A thick, purple concoction made of figs. It restores 250 HP, and probably tastes like TWO-year-old milk."},{name:"Manaberry",type:"item",cost:200,action:["r_MP",50],rgb:[100,255,255],desc:"When consumed, these not-at-all-suggestive-looking magical berries restore 50MP."},{name:"Ether",type:"item",cost:600,action:["r_MP",100],rgb:[100,255,255],desc:"This magical draught restores 100 MP, and is probably made from liquified fairies, or something. Who knows? But does it MATTER? You\'ll drink it anyway, even if you just found it lying around."},{name:"Beer",type:"item",cost:22,action:["r_HP",-5],rgb:[140,100,80],desc:"Alcohol is stupid. It doesn\'t do any good. It only causes harm."},{name:"Medipack",type:"item",cost:50,action:["r_HP",100],rgb:[255,255,255],desc:"This item, which contains all sorts of tools for repairing wounds, restores 100HP."},{name:"Antidote",type:"item",cost:20,action:["h_status","PSN"],rgb:[200,255,200],pfx:"Antidote",desc:"This tiny vial of green liquid can cure most poisons when imbibed. Unfortunately though, it also tastes like poison itself. Oh well."},{name:"LiquidLight",type:"item",cost:20,action:["h_status","DRK"],rgb:[255,255,255],pfx:"Antidote",desc:"A magical potion which can restore the sight of magically blinded eyes somehow. Maybe it\'s made from eye juice?!?"},{name:"LiquidSound",type:"item",cost:20,action:["h_status","SIL"],rgb:[100,0,155],pfx:"Antidote",desc:"This vial contains a vaguely liquid-like substance that cures silence when drunk. If you put it to your ear, you can hear a neverending tune."},{name:"MotionPotion",type:"item",cost:20,action:["h_status","PAR"],rgb:[255,255,100],pfx:"Antidote",desc:"This type of potion cures Paralysis. They\'re also useful for cheating at sports, perhaps?!"},{name:"HolyWater",type:"item",cost:20,action:["h_status","CRS"],rgb:[200,255,255],pfx:"Antidote",desc:"Holy water blessed by YALORT, used to cure curses. Being blessed by YALORT as it is, it burns the mouth of pretty much anyone when they drink it. It burns skin even if you just rub it on, too."},{name:"BalloonJuice",type:"item",cost:20,action:["h_status","NUM"],rgb:[162,237,38],pfx:"Antidote",desc:"If you drink this bodily juice from a Balloon monster, you\'ll be cured of numbness. You\'ll also be really disgusting. Ew."},{name:"Remedy",type:"item",cost:500,action:["h_status","ALL"],rgb:[255,200,50],pfx:"Remedy",desc:"This potent potion can remove any and all status effects. Probably because it\'s orange. It\'s not made of oranges though, unfortunately. Does that make you cry? I bet it does."},{name:"PhoenixDown",type:"item",cost:500,action:["life",0.25],rgb:[255,200,50],pfx:"Phoenix",desc:"It restores life, and unfortunately isn\'t torn from the bosom of a Firequill. It\'d be worth so much more if it was!"},{name:"FirequillDown",type:"item",cost:10000,action:["life",1],rgb:[255,233,128],pfx:"Phoenix",desc:"It restores life, and apparently IS torn from the bosom of a Firequill! And, as such, it also restores HP fully."},{name:"Grenade",type:"item",cost:1000,action:["r_HP",[-100,-300]],rgb:[255,200,50],pfx:"Grenade",desc:"Throw this to inflict damage. It\'s not a good idea to use it on yourself."},{name:"LeadPipe",type:"misc",cost:5,desc:"A lead pipe that used to be the \'tail\' of a fumerat. It reeks of sewage."},{name:"SewerKey",type:"plot",cost:-1,desc:"A large, rusty key. It opens a door in the sewers."},{name:"CatacombsKey",type:"plot",cost:-1,desc:"A dark, heavy key shaped like a skull. It opens a door in the catacombs."},{name:"Trilobite Key I",type:"plot",cost:-1,desc:"A key shaped like... a trilobite?"},{name:"Trilobite Key II",type:"plot",cost:-1,desc:"A key shaped like... a trilobite?"},{name:"Trilobite Key III",type:"plot",cost:-1,desc:"A key shaped like... a trilobite?"},{name:"Trilobite Key IV",type:"plot",cost:-1,desc:"A key shaped like... a trilobite?"},{name:"GreenCrystal",type:"plot",cost:-1,desc:"This beautiful green crystal reflects light with a wavelength of approximately 510 nm."},{name:"VirtualMap",type:"plot",cost:-1,desc:"A small, flat gadget about the size of a postcard set with a screen that generates a map of your current area. Use it by selecting \'Map\' from the menu."},{name:"WorldMap",type:"plot",cost:-1,desc:"A map of Proteus, rather crudely drawn on a piece of parchment. Use it from the menu to view the map on the World Map."},{name:"Communicator",type:"plot",cost:-1,desc:"This gadget, which is far more advanced than a \'telephone\', can be used to communicate with The Marauder."},{name:"BlackGem",type:"plot",cost:-1,desc:"A black gem, filled with the power of darkness. You can\'t find any way to actually utilise the power it obviously holds."},{name:"WhiteGem",type:"plot",cost:-1,desc:"A white gem, filled with the power of light. You can\'t find any way to actually utilise the power it obviously holds."},{name:"GoldenTrophy",type:"plot",cost:-1,desc:"This is some sort of weird trophy, made of gold. On it, it says: \'Awarded To Eric Englebertson, For Being Such A Great Guy!!\'"},{name:"HowlKey",type:"plot",cost:-1,desc:"A magical key which unlocks a magical door sealing Howlwood off from the rest of the world..."},{name:"House Keys",type:"plot",cost:-1,desc:"Keys for a house in Villageville that you purchased. You can use the house for storing excess items."},{name:"Package",type:"plot",cost:-1,desc:"A mysterious Package. You have no idea what could be inside."},{name:"TrampHat",type:"plot",cost:-1,desc:"A type of hat worn by vagrants. You can\'t equip it; it\'s too filthy!"},{name:"RodOfFire",type:"plot",cost:-1,elem:"FIRE",desc:"Use this with the \'1\' key to immolate obstacles such as boulders."},{name:"RodOfIce",type:"plot",cost:-1,elem:"WATER",desc:"Use this with the \'2\' key to freeze water."},{name:"Gold",type:"gold",cost:1,desc:"The Generic Gold Coin seems to be some sort of magic currency that is accepted everywhere. How useful."},{name:"none",type:"none",atk:4,pow:0,def:0,cost:0,desc:"-"}];
  180.                   WeaponAnimType = {SWORD:"MARTIAL",DAGGER:"MARTIAL",AXE:"MARTIAL",GREATSWORD:"2HSWORDS",SPEAR:"POLEARMS",STAFF:"STAVES",WAND:"MARTIAL",GUN:"GUNS",BLASTER:"GUNS",CLAW:"POLEARMS"};
  181.                   ShieldCompatability = {SWORD:1,DAGGER:1,AXE:1,GREATSWORD:0,SPEAR:0,STAFF:0,WAND:1,GUN:0,BLASTER:0};
  182.                   QuestData = [{ID:"HEROES",title1:"Hero Quest!",title:"Slay The Mighty Dragon!",body:"  A Mighty Dragon has captured a Princess from some kingdom or another, and it\'s your duty as Mighty Heroes to slay the dragon and rescue her! So get to it!"},{ID:"FUMERATS",title1:"LeadPipes",title:"Collect 5 LeadPipes",body:"  Meraeador, the inventor, has asked you to bring him five LeadPipes, which he needs for his latest invention. You can get LeadPipes from fumerats in the Goznor sewers."},{ID:"FALLENSTAR",title1:"The Fallen Star",title:"The Fallen Star",body:"  Deugan says he saw a strange \'star\' in the sky this morning, and that it apparently fell down to Belfan and crashed just on the other side of the Soothwood. You have to travel through the Soothwood to find out what it was!"},{ID:"ALLIES",title1:"SOMETHING",title:"All Alone...",body:"  After seeing a strange, ancient video recording on a computer screen in the Lost Ruins, you were blasted by a magical spell and warped a fair way across the world. You were found completely alone with nothing but your clothes.\n  Your friends, Kerah and Quillon, were seperated from you. You should find them."}];
  183.                   totalTreasure = 130;
  184.                   break;
  185.                }
  186.                if(eval("\x01") == 68)
  187.                {
  188.                   set("\x01",eval("\x01") - 68);
  189.                }
  190.                break;
  191.             }
  192.             set("\x01",eval("\x01") + 381);
  193.          }
  194.       }
  195.    }
  196. }
  197.